package me.panpf.sketch.sample.vt.bean;

import ohos.media.image.PixelMap;

/**
 * description : VideoInfo bean
 *
 * @since : 2021/6/3
 */
public class VideoInfo {
    /**
     * FOOT_VIEW_TYPE
     */
    public final static int FOOT_VIEW_TYPE = 1;

    /**
     * NORMAL_LIST_TYPE
     */
    public final static int NORMAL_LIST_TYPE = 0;

    private String title;
    private String path;
    private String mimeType;
    private long duration;
    private long date;
    private long size;
    private int id;
    private PixelMap pixelMap;
    private int type;

    public VideoInfo(int type) {
        this.type = type;
    }

    public VideoInfo() {
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getMimeType() {
        return mimeType;
    }

    public void setMimeType(String mimeType) {
        this.mimeType = mimeType;
    }

    public long getDuration() {
        return duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }

    public long getDate() {
        return date;
    }

    public void setDate(long date) {
        this.date = date;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public PixelMap getPixelMap() {
        return pixelMap;
    }

    public void setPixelMap(PixelMap pixelMap) {
        this.pixelMap = pixelMap;
    }
}